![]() |
PBDeleteObjectSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Deletes a file or an empty directory.
OSErr PBDeleteObjectSync ( FSRefParam *paramBlock );
A pointer to a parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion routine.
On output, the result code of the function.
On input, the file or directory to be deleted. If the object to be deleted is a directory, it must be empty (it must contain no files or folders).
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 9, or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)